<?php
namespace app\api\validate;

use think\Validate;

class Kyc extends Validate
{
	protected $rule =   [
        'realname'       => 'require',
        'card_up'       => 'require',
        'card_down'       => 'require',
	];
    
    protected $message  =   [
        'realname.require' => '姓名必填',
        'card_up.require' => '身份证正面必传',
        'card_down.require' => '身份证反面必传',
    ];
    protected $scene = [
    	'add'		=> ['realname','card_up','card_down'],    	
    ];

}